module.exports = [
  {
    key: 'name',
    title: '名称',
    dataType: 'varchar',
    placeholder: '请输入名称',
    rules: [{ required: true, message: '请输入名称' }]
  },
  {
    key: 'type',
    title: '类型',
    dataType: 'selectByDefaultValue',
    defaultSelect: [{'value':'ANDROID', 'name':'ANDROID'}, {'value':'IOS', 'name':'IOS'}],
    rules: [{ required: true, message: '请选择类型'}]
  },
  {
    key: 'versionNum',
    title: '版本号',
    dataType: 'varchar',
    placeholder: '请输入版本号',
    rules: [{ required: true, message: '请输入版本号' }]
  },
  {
    key: 'buildNum',
    title: 'build号',
    dataType: 'varchar',
    placeholder: '请输入build号',
    rules: [{ required: false }]
  },
  {
    key: 'des',
    title: '版本描述',
    dataType: 'varchar',
    placeholder: '请输入版本描述',
    rules: [{ required: false, message: '请输入版本描述' }]
  },
];
